package com.spsy.pay.controller;

import com.alibaba.fastjson.JSON;
import com.spsy.api.common.AddOrderVo;
import com.spsy.common.core.domain.R;
import com.spsy.pay.api.PayApi;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class PayApiController implements PayApi {

    @Override
    public R createOrder(AddOrderVo vo) {
        log.info("支付系统接受的参数 addOrderVo:{}", JSON.toJSONString(vo));
        return R.ok();
    }
}
